## Delete User
Inside the portal, a user will be able to delete an user - the function is differentiated into two functions
- Delete your own user account
- Delete an user account of a user inside your organization (only available for the IT Administrator)
User accounts might be companyIdP federated or CX user accounts. In both scenarios the user deletion is implemented and will effect the user account itself, the user favorites, user roles as well as user attributes.
The deletion of users is audit relevant and will be audit logged inside the db.
More details to the audit logging can get found here: [Audit Log Details](/docs/admin/Operations/Auditing.md)
### Own User Deletion Flow
### Company User Deletion Flow
## NOTICE
This work is licensed under the [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
- SPDX-License-Identifier: Apache-2.0
- SPDX-FileCopyrightText: 2023 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/portal-assets